namespace two {
    export class User_getJewelryProxy extends BaseProxy {
        private static _instance: User_getJewelryProxy;
        static getInstance(): User_getJewelryProxy {
            if (User_getJewelryProxy._instance == null) {
                User_getJewelryProxy._instance = new User_getJewelryProxy();
            }
            return User_getJewelryProxy._instance;
        }

        /** 返回的keys */
        protected responseKeys: string[] = ["id", "name", "desc", "price", "status", "selfStatus", "attention", "isAttention"];

        /**11请在此范围内写自定义代码11**/

        private jewelries: { [id: string]: IUser_getJewelryResponse } = {};
        /**
         * 通知前处理
         */
        protected responseBefore(): void {
            let req = this.getRequest();
            let rep = this.getResponse();

            this.jewelries[req.id] = rep;
        }

        public getJewelryInfo(id: string):IUser_getJewelryResponse {
            return this.jewelries[id];
        }

        /**22请在此范围内写自定义代码22**/
    }
}